package com.itheima.mp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.mp.domain.po.User;
import com.itheima.mp.domain.vo.UserVO;

import java.util.List;

/**
 * ClassName: IUserService
 * Package: com.itheima.mp.domain.po.service
 * Description:
 *
 * @Author 那啥啥
 * @Create 2024/1/6  19:38
 * @Version 1.0
 */
public interface IUserService extends IService<User> {
    void deductBalance(Long id, Integer money);

    List<User> queryUsers(String name, Integer minBalance, Integer maxBalance, Integer status);

    UserVO queryUsersAndAddressById(Long id);

    List<UserVO> queryUserByIds(List<Long> ids);
}
